<template>
  <div class="message-container">
    <div class="message-container__l">
      <nav-wrap
        width="302px"
        :list="list"
      ></nav-wrap>
    </div>
    <div class="message-container__r">

      <transition name="fade-transform" mode="out-in">
        <nuxt-child></nuxt-child>
      </transition>

    </div>
  </div>
</template>

<script>


  import FanCard from '../../components/pc/fanCard';
  import NavWrap from "../../components/pc/nav/navWrap";


  export default {
    data(){
      return{
        list: [
          {
            label: '我的关注',
            address: '/personal-center/person/following',
            id: '我的消息'
          },
          {
            label: '我的粉丝',
            address: '/personal-center/person/fans',
            id: '我的粉丝'
          }
        ],
        selected:'项目'

      }
    },
    components:{

      FanCard,NavWrap


    },
    created() {
    },
  }
</script>

<style lang="scss" scoped>
  .message-container{
    width: $pageWidth;
    margin:0 auto;
    padding-bottom: 32*$length;
    @extend %flex-row-spb;
    align-items: flex-start;
    .message-container__l{
      margin-top:16*$length;
      overflow:hidden;
      width:302*$length;
    }
    .message-container__r{
      width:938*$length;
      margin-top:16*$length;
      border-radius: 4*$length;
    }
  }
</style>
